package com.lsh.payment.core.model.task;

import com.lsh.payment.core.model.BaseVender;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;


/**
 * @author peter
 */
@Setter
@Getter
@NoArgsConstructor
@ToString
public class PayTask extends BaseVender implements Serializable {

    private Long id;
    /**
     * 支付平台订单号
     */
    private String payId;
    /**
     * 支付平台流水号
     */
    private String payPaymentNo;
    /**
     * 第三方支付订单号
     */
    private String channelTransaction;
    /**
     * 业务方订单号
     */
    private String tradeId;
    /**
     * 业务平台支付类型
     */
    private String tradeModule;

    private Date createdAt;

    private Date updatedAt;
    /**
     * 查询第三方支付结果次数
     */
    private Integer queryTimes;

    private Integer emailStatus;

}